<extend name="default/template/base_scoreshop" />

<block name="head">
    <link rel="stylesheet" href="__CSS__/scoreshop_exlog.css?v=" />
</block>

<block name="body">
<div class="record">
  <p>{$entry.exchange_time|date='Y.m.d h:i:s',###}</p>
  <p><if condition="$entry.exchange_status eq -1">兑换中<else />兑换成功</if></p>
  <div class="record-img"><img src="{:getImageUrl($entry['main_img'],0,1)}"></div>
  <ul>
    <li><span class="first-msg">{$entry.brand}</span></li>
    <li><span class="second-msg">{$entry.pname}</span></li>
    <li><span class="money">{$entry.score|intval}</span><span class="third-msg">萌币+</span><span class="money">￥{$entry.price}</span></li>
  </ul>
  <span class="express color">
    <if condition="$entry.exchange_status eq -1"><span class="am-icon-hand-o-right"></span><a href="{:U('ExchangeLog/pay',array('id'=>$entry['id'],'uid'=>$uid,'psw'=>$psw,'msg'=>$msg,'wallet'=>$wallet))}" class='color'>&nbsp;&nbsp;前往支付</a>
    <elseif  condition="$entry.exchange_status eq 0" />待发货
    <elseif  condition="$entry.exchange_status eq 1" />
      <if condition="$entry.type eq 2">已自动发货 - 红包[萌币兑换]
      <elseif condition="$entry.type eq 3" />已自动发货 - 优惠券[萌币兑换]
      <else />物流详情:
      </if>
    </if>
  </span>
  </div>
</div>
<if condition='$express'><iframe src="{$express}"  frameborder="no" border="0" ></iframe></if>
<script>
$(function() {

});
</script>
</block>